package com.ddm.dto.webDTO;

import lombok.Data;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotNull;

@Data
public class UserUpdateDTO {
    @NotNull(message = "用户ID不能为空")
    private Long id; // 保持Long类型，避免转换

    private String userName;

    @Email(message = "邮箱格式不正确")
    private String email;

    private String phoneNum;

    private String planId;
}